Create x amount of html elements in template based on how many elements I have in DB